import * as ApiUtil from '@/api/index';

const api = {
  noteList: ApiUtil.getI5xforyouUrl('/i5xforyou/backend/note/list'),
  noteSave: ApiUtil.getI5xforyouUrl('/i5xforyou/backend/note/save'),
};

export function noteList() {
  return ApiUtil.getI5xforyou(api.noteList);
}

export function noteSave(data?: object) {
  return ApiUtil.postI5xforyou(api.noteSave, data);
}
